AUTOMAKE_OPTIONS = gnu

includekademliadir = $(includedir)/kademlia
libkademliadir = $(libdir)/kademlia

dist_includekademlia_HEADERS = \
	ArchSpecific.h ByteIO.h Contact.h DataIO.h Defines.h Entry.h Error.h \
  KadClog.h Kademlia.h KademliaUDPListener.h Maps.h MD5Sum.h MemFile.h \
  NoteIndex.h OPCodes.h OtherStructs.h Packet.h Prefs.h RoutingBin.h \
  RoutingZone.h SafeFile.h Search.h SearchManager.h SearchResultCallback.h \
  SimpleTag.h Tag.h Types.h UInt128.h kademliamain.h net.h queue.h rbt.h \
  utilities.h

libkademlia_LTLIBRARIES = libkad.la
libkad_la_SOURCES = \
	ByteIO.cpp Contact.cpp DataIO.cpp KadClog.c Kademlia.cpp \
	KademliaUDPListener.cpp MD5Sum.cpp MemFile.cpp NoteIndex.cpp Packet.cpp \
  Prefs.cpp RoutingBin.cpp RoutingZone.cpp SafeFile.cpp Search.cpp \
  SearchManager.cpp SimpleTag.cpp UInt128.cpp kademliamain.cpp net.c queue.c \
  rbt.c utilities.cpp

libkad_la_LDFLAGS = -version-info 0:1:0 -no-undefined -lz
